projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d71c6fb
)
pack.py: use the same TAR format as cargo
author
Luca Bruno
<lucab@debian.org>
Sun, 14 Feb 2016 14:58:37 +0000
(15:58 +0100)
committer
Luca Bruno
<lucab@debian.org>
Sun, 14 Feb 2016 14:58:37 +0000
(15:58 +0100)
debian/cargo-vendor-pack.py
patch
|
blob
|
history
diff --git
a/debian/cargo-vendor-pack.py
b/debian/cargo-vendor-pack.py
index 7ae9ef1e848ccf4df1db65f23bb38858d3fe5ef4..e29c571bd5327e617738130d7a0c74920808a5e2 100755
(executable)
--- a/
debian/cargo-vendor-pack.py
+++ b/
debian/cargo-vendor-pack.py
@@
-84,7
+84,7
@@
def main():
destdir=(os.path.join(cachedir, name, ver))
os.makedirs(destdir)
tarcrate = os.path.join(destdir, "download")
- tar = tarfile.open(tarcrate, "w:gz")
+ tar = tarfile.open(tarcrate, "w:gz"
, format=tarfile.USTAR_FORMAT
)
tar.add(os.path.join(depsdir, crate), arcname=crate)
tar.close()